﻿using System.Web;
using System.Web.Optimization;

namespace WebApp
{
    public class BundleConfig
    {
        // For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862
        public static void RegisterBundles(BundleCollection bundles)
        {
            bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
                        "~/Scripts/jquery-{version}.js"));

            bundles.Add(new ScriptBundle("~/bundles/jqueryval").Include(
                        "~/Scripts/jquery.validate*"));
            
            bundles.Add(new ScriptBundle("~/bundles/jqueryui").Include(
                        "~/Scripts/jquery-ui-{version}.js"));

            // Use the development version of Modernizr to develop with and learn from. Then, when you're
            // ready for production, use the build tool at http://modernizr.com to pick only the tests you need.
            bundles.Add(new ScriptBundle("~/bundles/modernizr").Include(
                        "~/Scripts/modernizr-*"));

            bundles.Add(new ScriptBundle("~/bundles/uijs").Include(
                      "~/Scripts/bootstrap.js",
                      "~/Scripts/respond.js",
                      "~/Scripts/fastclick/fastclick.js",
                      "~/Scripts/slimScroll/jquery.slimscroll.js",
                      "~/plugins/iCheck/icheck.js",
                      "~/Scripts/app.js"
                      ));

            bundles.Add(new ScriptBundle("~/bundles/uijsextra").Include(
                    "~/Scripts/tag-it.js"
            ));

            bundles.Add(new ScriptBundle("~/bundles/uijscustom").Include(
                    "~/Scripts/accufind.js"
            ));

            bundles.Add(new StyleBundle("~/Content/uicss").Include(
                      "~/Content/bootstrap.css",
                      "~/Content/font-awesome.css",
                      "~/Content/ionicons.css",
                      "~/Content/AdminLTE.css",
                      "~/Content/skins/skin-accufind-light.css",
                      "~/plugins/iCheck/square/blue.css"
            ));

            bundles.Add(new StyleBundle("~/Content/uicssextra").Include(
                    "~/Content/jquery.tagit.css",
                    "~/Content/tagit.ui-zendesk.css"
            ));

            bundles.Add(new StyleBundle("~/Content/uicsscustom").Include(
                    "~/Content/custom.css"
            ));

            bundles.Add(new StyleBundle("~/Content/themes/base/css").Include(
                      "~/Content/themes/base/jquery.ui.core.css",
                      //"~/Content/themes/base/jquery.ui.resizable.css",
                      //"~/Content/themes/base/jquery.ui.selectable.css",
                      //"~/Content/themes/base/jquery.ui.accordion.css",
                      "~/Content/themes/base/jquery.ui.autocomplete.css",
                      //"~/Content/themes/base/jquery.ui.button.css",
                      //"~/Content/themes/base/jquery.ui.dialog.css",
                      //"~/Content/themes/base/jquery.ui.slider.css",
                      //"~/Content/themes/base/jquery.ui.tabs.css",
                      //"~/Content/themes/base/jquery.ui.datepicker.css",
                      //"~/Content/themes/base/jquery.ui.progressbar.css",
                      "~/Content/themes/base/jquery.ui.theme.css"));
        }
    }
}
